//
//  AOBasicViewController.h
//  ChengXinBao
//
//  Created by RongZhou on 17/2/13.
//  Copyright © 2017年 RongZhou. All rights reserved.
//

#import <UIKit/UIKit.h>

#define ScreenWidth self.view.frame.size.width

#define ScreenHeight self.view.frame.size.height

#define ServiceUrl @"http://120.77.213.62:9080"

#define ZColorRGBA(r,g,b,a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(a)]
#define ZColorRGB(r,g,b) ZColorRGBA(r,g,b,1.0f)

#define RGB(r,g,b,a) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a]

#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]/// rgb颜色转换（16进制->10进制）

#define ALERT(msg) [[[UIAlertView alloc] initWithTitle:nil message:msg delegate:nil cancelButtonTitle:@"确定" otherButtonTitles:nil] show]
@interface AOBasicViewController : UIViewController

- (void)startWait;

- (void)stopWait;

@end
